.codeMirror-wrap {
  :global {
    .CodeMirror-scroll {
      font-size: 13px;
    }
    .cm-s-xq-light span.cm-string {
      color: #d05801;
    }
  }
}
.lint-error {
  font-family: arial;
  font-size: 70%;
  background: #ffa;
  color: #a00;
  padding: 2px 5px 3px;
}
.lint-error-icon {
  color: white;
  background-color: red;
  font-weight: bold;
  border-radius: 50%;
  padding: 0 3px;
  margin-right: 7px;
}

.xml-edit-wrap {
  :global {
    .cm-s-xq-light span.cm-meta {
      color: #1890ff;
    }
  }
  .context-menu {
    max-height: 310px;
    max-width: 300px;
    min-width: 300px;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    left: 0;
    top: 0px;
    padding: 4px 0px;
    border-radius: 4px;
    border: 1px solid #f5f5f5;
    background: #fff;
    box-shadow: 0 0px 6px rgba(0, 21, 41, 0.2);
    li {
      line-height: 30px;
      &:hover {
        cursor: pointer;
        background-color: #16ba3c;
        color: #fff;
      }
      padding: 0 30px;
    }
  }
  .device-type-select {
    width: 100px;
  }
  width: 100%;
  padding: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  .toolbar-wrap {
    width: 100%;
    height: 42px;
    flex: 0 0 auto;
  }
  .xml-ct {
    overflow: hidden;
    min-height: 0;
    height: 100%;
    flex: auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.1);
    padding: 0 8px;
    .send {
      height: 60%;
      display: flex;
      flex-direction: column;
      .title {
        flex: 0 0 auto;
        height: 36px;
        padding-top: 12px;
        color: #00a0e9;
        line-height: 14px;
        position: relative;
        padding-left: 4px;
        font-size: 13px;
      }
      .content {
        position: relative;
        min-height: 0;
        height: 100%;
        overflow: hidden;
        flex: auto;
        background: #f5f5f5;
        border-radius: 4px;
        box-shadow: inset 0 0px 4px rgba(0, 21, 41, 0.12);
      }
    }
    .formatting {
      height: 30px;
      line-height: 20px;
      position: absolute;
      right: 0;
      top: 7px;
      color: #fff;
      border-color: #00a0e9;
      background-color: #00a0e9;
      box-shadow: 0 1px 4px rgba(0, 21, 41, 0.12);
      border-radius: 4px;
      i {
        color: #fff;
      }
      &:hover {
        color: #fff;
        border-color: #00a0e9;
        background-color: #00a0e9;
      }
      &:focus {
        color: #fff;
        border-color: #00a0e9;
        background-color: #00a0e9;
      }
      &[disabled] {
        i {
          color: rgba(0, 0, 0, 0.25);
        }
        color: rgba(0, 0, 0, 0.25);
        background-color: #f5f5f5;
        border-color: #d9d9d9;
      }
    }
    .response {
      display: flex;
      flex-direction: column;
      .title {
        flex: 0 0 auto;
        height: 36px;
        padding-top: 12px;
        color: #00a0e9;
        line-height: 14px;
        position: relative;
        font-size: 13px;
        padding-left: 4px;
      }
      height: 40%;
      padding-bottom: 8px;
      .content {
        position: relative;
        min-height: 0;
        height: 100%;
        overflow: hidden;
        flex: auto;
        background: #f5f5f5;
        border-radius: 4px;
        box-shadow: inset 0 0px 4px rgba(0, 21, 41, 0.12);
      }
    }
  }
}
.message-wrap {
  :global {
    .ant-form-item-label {
      label {
        color: #00a0e9;
      }
    }
    .ant-form-item-control {
      width: 200px;
    }
  }
}
